package com.icode.gulimall.ware.feign;

import com.icode.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: my_code
 * @Email: my_code@foxmail.com
 * @Create: 2021-02-07 19:04
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {

    @GetMapping("/order/order/info/byordersn/{ordersn}")
    R getOrderInfoByOrderSn(@PathVariable("ordersn") String orderSn);
}
